<!--
/**
 * 审批流程实例 列表页 JS 脚本
 * @author 李方捷 , leefangjie@qq.com
 * @since 2023-06-05 14:41:30
 */
 -->
 <!DOCTYPE html>
<html style="background-color: #FFFFFF;">

<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta charset="utf-8"/>
    <meta name="referrer" content="no-referrer">
	<title th:text="${lang.translate('审批流程实例')}">审批流程实例</title>
    <link th:if(theme.ico!="null") rel="shortcut icon" th:href="${theme.ico}" type="image/vnd.microsoft.icon">
    <link th:if(theme.ico!="null") rel="icon" th:href="${theme.ico}" type="image/vnd.microsoft.icon">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/assets/libs/layui/css/layui.css" th:href="'/assets/libs/layui/css/layui.css?'+${cacheKey}"/>
    <link rel="stylesheet" href="/assets/css/admin.css" th:href="'/assets/css/admin.css?'+${cacheKey}"/>
    <link rel="stylesheet" href="/assets/libs/toast/css/toast.css" type="text/css" th:href="'/assets/libs/toast/css/toast.css?'+${cacheKey}">
    <link rel="stylesheet" href="/assets/css/foxnic-web.css" th:href="'/assets/css/foxnic-web.css?'+${cacheKey}"/>
    <link href="/assets/libs/font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet"/>
    <link href="/assets/libs/material-design-webfont/css/material-design-icons-min.css" rel="stylesheet">
    <script th:inline="javascript">var foxnic_cachekey=[[${cacheKey}]];</script>
    <style>
        .layui-form-label-c1 {
            width: 100px;
        }
        .layui-input-block-c1 {
            margin-left: 135px;
        }
    .form-column {
        padding-top: 0px;
        padding-right: 0px;
        padding-left: 4px;
        display: inline-block;
    }
    .model-form {
        padding-top: 0px;
        margin-right: 0px;
        margin-left: 4px;
    }
    </style>
    <link th:each="css:${theme.css}" rel="stylesheet" th:href="${css}+'?'+${cacheKey}">
</head>

<body style="overflow-y: hidden;">
<div class="form-container" >

    <form id="data-form" lay-filter="data-form" class="layui-form model-form" style="opacity:0">


         <!--开始：group 循环-->


        <div class="layui-row form-row" id="default-content">

             <!--开始：column 循环-->
            <!-- 只有当非第一个分组没有title时才使 padding-top 为 0 -->
            <div class="layui-col-xs12 form-column" >

                <!-- text_input : 主键 ,  id -->
                <div class="layui-form-item" style="display: none"inlines=""  inline-delta="0" input-width="">
                    <div class="layui-form-label layui-form-label-c1"><div th:text="${lang.translate('主键')}">主键</div></div>
                    <div class="layui-input-block layui-input-block-c1">
                        <input lay-filter="id" id="id" name="id" th:placeholder="${ lang.translate('请输入'+'主键') }" type="text" class="layui-input"  />
                    </div>
                </div>
            
                <!-- text_input : 流程实例ID ,  processInstanceId -->
                <div class="layui-form-item" style="display: none"inlines=""  inline-delta="0" input-width="">
                    <div class="layui-form-label layui-form-label-c1"><div th:text="${lang.translate('流程实例ID')}">流程实例ID</div></div>
                    <div class="layui-input-block layui-input-block-c1">
                        <input lay-filter="processInstanceId" id="processInstanceId" name="processInstanceId" th:placeholder="${ lang.translate('请输入'+'流程实例ID') }" type="text" class="layui-input"  />
                    </div>
                </div>
            
                <!-- select_box : 专利状态 ,  status  -->
                <div class="layui-form-item" style="display: none"inlines=""  inline-delta="0" input-width="">
                    <div class="layui-form-label layui-form-label-c1"><div th:text="${lang.translate('专利状态')}">专利状态</div></div>
                    <div class="layui-input-block layui-input-block-c1">
                        <div id="status" input-type="select" th:data="${enum.toArray('com.foxnicweb.app.constants.enums.patent.PatentProcessStatus')}" extraParam="{}"></div>
                    </div>
                </div>
            
                <!-- logic_switch : 是否交底 ,  isGotBase  -->
                <div class="layui-form-item" inlines=""  inline-delta="0" input-width="">
                    <div class="layui-form-label layui-form-label-c1"><div th:text="${lang.translate('是否交底')}">是否交底</div></div>
                    <div class="layui-input-block layui-input-block-c1">
                        <input input-type="switch" type="checkbox" id="isGotBase"  name="isGotBase" lay-skin="switch" lay-filter="isGotBase" lay-text="已交|未交&nbsp;" value="1">
                    </div>
                </div>
            
                <!-- logic_switch : 继续 ,  noBaseContinue  -->
                <div class="layui-form-item" inlines=""  inline-delta="0" input-width="">
                    <div class="layui-form-label layui-form-label-c1"><div th:text="${lang.translate('继续')}">继续</div></div>
                    <div class="layui-input-block layui-input-block-c1">
                        <input input-type="switch" type="checkbox" id="noBaseContinue"  name="noBaseContinue" lay-skin="switch" lay-filter="noBaseContinue" lay-text="继续|终止&nbsp;" value="1">
                    </div>
                </div>
            
                <!-- logic_switch : 事务所能否完成 ,  canOfficeDone  -->
                <div class="layui-form-item" inlines=""  inline-delta="0" input-width="">
                    <div class="layui-form-label layui-form-label-c1"><div th:text="${lang.translate('事务所能否完成')}">事务所能否完成</div></div>
                    <div class="layui-input-block layui-input-block-c1">
                        <input input-type="switch" type="checkbox" id="canOfficeDone"  name="canOfficeDone" lay-skin="switch" lay-filter="canOfficeDone" lay-text="可以|不能&nbsp;" value="1">
                    </div>
                </div>
            
                <!-- logic_switch : 材料是否完整 ,  isMaterialComplete  -->
                <div class="layui-form-item" inlines=""  inline-delta="0" input-width="">
                    <div class="layui-form-label layui-form-label-c1"><div th:text="${lang.translate('材料是否完整')}">材料是否完整</div></div>
                    <div class="layui-input-block layui-input-block-c1">
                        <input input-type="switch" type="checkbox" id="isMaterialComplete"  name="isMaterialComplete" lay-skin="switch" lay-filter="isMaterialComplete" lay-text="完整|缺失&nbsp;" value="1">
                    </div>
                </div>
            
                <!-- logic_switch : 代理能否完成 ,  canAgentDone  -->
                <div class="layui-form-item" inlines=""  inline-delta="0" input-width="">
                    <div class="layui-form-label layui-form-label-c1"><div th:text="${lang.translate('代理能否完成')}">代理能否完成</div></div>
                    <div class="layui-input-block layui-input-block-c1">
                        <input input-type="switch" type="checkbox" id="canAgentDone"  name="canAgentDone" lay-skin="switch" lay-filter="canAgentDone" lay-text="可以|不能&nbsp;" value="1">
                    </div>
                </div>
            
                <!-- logic_switch : 是否定稿 ,  finalized  -->
                <div class="layui-form-item" inlines=""  inline-delta="0" input-width="">
                    <div class="layui-form-label layui-form-label-c1"><div th:text="${lang.translate('是否定稿')}">是否定稿</div></div>
                    <div class="layui-input-block layui-input-block-c1">
                        <input input-type="switch" type="checkbox" id="finalized"  name="finalized" lay-skin="switch" lay-filter="finalized" lay-text="定稿|待定&nbsp;" value="1">
                    </div>
                </div>
            
                <!-- radio_box : 案件类型 ,  subtype  -->
                <div class="layui-form-item" inlines=""  inline-delta="0" input-width="">
                    <div class="layui-form-label layui-form-label-c1"><div th:text="${lang.translate('案件类型')}">案件类型</div></div>
                    <div class="layui-input-block layui-input-block-c1">
                        <input input-type="radio" type="radio" name="subtype" lay-filter="subtype" th:each="e,stat:${enum.toArray('com.foxnicweb.app.constants.enums.patent.PatentSubType')}" th:value="${e.code}" th:title="${e.text}" th:checked="${(e.code=='' || stat.index==-1)}">
                    </div>
                </div>
            
                <!-- text_input : 客户名称 ,  customerName -->
                <div class="layui-form-item" style="display: none"inlines=""  inline-delta="0" input-width="">
                    <div class="layui-form-label layui-form-label-c1"><div th:text="${lang.translate('客户名称')}">客户名称</div></div>
                    <div class="layui-input-block layui-input-block-c1">
                        <input lay-filter="customerName" id="customerName" name="customerName" th:placeholder="${ lang.translate('请输入'+'客户名称') }" type="text" class="layui-input"  />
                    </div>
                </div>
            
                <!-- logic_switch : 下一步骤 ,  retrieval  -->
                <div class="layui-form-item" inlines=""  inline-delta="0" input-width="">
                    <div class="layui-form-label layui-form-label-c1"><div th:text="${lang.translate('下一步骤')}">下一步骤</div></div>
                    <div class="layui-input-block layui-input-block-c1">
                        <input input-type="switch" type="checkbox" id="retrieval"  name="retrieval" lay-skin="switch" lay-filter="retrieval" lay-text="检索|撰稿&nbsp;" value="1">
                    </div>
                </div>
            
                <!-- text_input : 名称 ,  title -->
                <div class="layui-form-item" style="display: none"inlines=""  inline-delta="0" input-width="">
                    <div class="layui-form-label layui-form-label-c1"><div th:text="${lang.translate('名称')}">名称</div></div>
                    <div class="layui-input-block layui-input-block-c1">
                        <input lay-filter="title" id="title" name="title" th:placeholder="${ lang.translate('请输入'+'名称') }" type="text" class="layui-input"  />
                    </div>
                </div>
            
                <!-- text_input : 编号 ,  serial -->
                <div class="layui-form-item" style="display: none"inlines=""  inline-delta="0" input-width="">
                    <div class="layui-form-label layui-form-label-c1"><div th:text="${lang.translate('编号')}">编号</div></div>
                    <div class="layui-input-block layui-input-block-c1">
                        <input lay-filter="serial" id="serial" name="serial" th:placeholder="${ lang.translate('请输入'+'编号') }" type="text" class="layui-input"  />
                    </div>
                </div>
            
                <!-- text_input : 审批状态 ,  processStatus -->
                <div class="layui-form-item" style="display: none"inlines=""  inline-delta="0" input-width="">
                    <div class="layui-form-label layui-form-label-c1"><div th:text="${lang.translate('审批状态')}">审批状态</div></div>
                    <div class="layui-input-block layui-input-block-c1">
                        <input lay-filter="processStatus" id="processStatus" name="processStatus" th:placeholder="${ lang.translate('请输入'+'审批状态') }" type="text" class="layui-input"  />
                    </div>
                </div>
            
                <!-- text_input : 待审节点 ,  currNodes -->
                <div class="layui-form-item" style="display: none"inlines=""  inline-delta="0" input-width="">
                    <div class="layui-form-label layui-form-label-c1"><div th:text="${lang.translate('待审节点')}">待审节点</div></div>
                    <div class="layui-input-block layui-input-block-c1">
                        <input lay-filter="currNodes" id="currNodes" name="currNodes" th:placeholder="${ lang.translate('请输入'+'待审节点') }" type="text" class="layui-input"  />
                    </div>
                </div>
            
                <!-- text_input : 节点始于 ,  currNodesTime -->
                <div class="layui-form-item" style="display: none"inlines=""  inline-delta="0" input-width="">
                    <div class="layui-form-label layui-form-label-c1"><div th:text="${lang.translate('节点始于')}">节点始于</div></div>
                    <div class="layui-input-block layui-input-block-c1">
                        <input lay-filter="currNodesTime" id="currNodesTime" name="currNodesTime" th:placeholder="${ lang.translate('请输入'+'节点始于') }" type="text" class="layui-input"  />
                    </div>
                </div>
            
                <!-- button : 案件代理人 ,  caseAgentIds  -->
                <div class="layui-form-item" inlines=""  inline-delta="0" input-width="">
                    <div class="layui-form-label layui-form-label-c1"><div th:text="${lang.translate('案件代理人')}">案件代理人</div></div>
                    <div class="layui-input-block layui-input-block-c1">
                        <input lay-filter="caseAgentIds" id="caseAgentIds" name="caseAgentIds"  type="hidden" class="layui-input"   />
                        <button id="caseAgentIds-button" type="button" action-type="emp-dialog" class="layui-btn   " style="width: 200px" default-width="200px" auto-width="true"> <i class='layui-icon layui-icon-search'></i> <span th:text="${lang.translate('请选择人员')}" th:default-label="${lang.translate('请选择人员')}">按钮文本</span></button>
                    </div>
                </div>
            
                <!-- button : 外协对接人 ,  outPersonIds  -->
                <div class="layui-form-item" inlines=""  inline-delta="0" input-width="">
                    <div class="layui-form-label layui-form-label-c1"><div th:text="${lang.translate('外协对接人')}">外协对接人</div></div>
                    <div class="layui-input-block layui-input-block-c1">
                        <input lay-filter="outPersonIds" id="outPersonIds" name="outPersonIds"  type="hidden" class="layui-input"   />
                        <button id="outPersonIds-button" type="button" action-type="emp-dialog" class="layui-btn   " style="width: 200px" default-width="200px" auto-width="true"> <i class='layui-icon layui-icon-search'></i> <span th:text="${lang.translate('请选择人员')}" th:default-label="${lang.translate('请选择人员')}">按钮文本</span></button>
                    </div>
                </div>
            
                <!-- button : 商务助理 ,  businessAssistantIds  -->
                <div class="layui-form-item" inlines=""  inline-delta="0" input-width="">
                    <div class="layui-form-label layui-form-label-c1"><div th:text="${lang.translate('商务助理')}">商务助理</div></div>
                    <div class="layui-input-block layui-input-block-c1">
                        <input lay-filter="businessAssistantIds" id="businessAssistantIds" name="businessAssistantIds"  type="hidden" class="layui-input"   />
                        <button id="businessAssistantIds-button" type="button" action-type="emp-dialog" class="layui-btn   " style="width: 200px" default-width="200px" auto-width="true"> <i class='layui-icon layui-icon-search'></i> <span th:text="${lang.translate('请选择人员')}" th:default-label="${lang.translate('请选择人员')}">按钮文本</span></button>
                    </div>
                </div>
            <!--结束：栏次内字段循环-->
            </div>
            <!--结束：栏次输入框循环-->
        </div>
        <!--结束：group循环-->

        <div style="height: 16px"></div>


    </form>

</div>
<div class="model-form-footer">
    <button class="layui-btn layui-btn-primary" id="cancel-button" lay-filter="cancel-button" type="button" th:text="${lang.translate('取消','','form.button')}" >取消</button>
    <button th:if="${perm.checkAnyAuth('pat_patent_process:create','pat_patent_process:update','pat_patent_process:save')}" class="layui-btn" style="margin-right: 15px;display: none;"  id="submit-button" lay-filter="submit-button" lay-submit th:text="${lang.translate('保存','','form.button')}">保存</button>
</div>

<script type="text/javascript" src="/module/global.js" th:src="'/module/global.js?'+${cacheKey}"></script>
<script type="text/javascript" src="/assets/libs/jquery-3.2.1.min.js" th:src="'/assets/libs/jquery-3.2.1.min.js?'+${cacheKey}"></script>
<script type="text/javascript" src="/assets/libs/pandyle.min.js" th:src="'/assets/libs/pandyle.min.js?'+${cacheKey}"></script>
<script type="text/javascript" src="/assets/libs/layui/layui.js" th:src="'/assets/libs/layui/layui.js?'+${cacheKey}"></script>
<script type="text/javascript" src="/assets/libs/toast/js/toast.js" th:src="'/assets/libs/toast/js/toast.js?'+${cacheKey}"></script>
<script th:inline="javascript">
    var LAYUI_TABLE_WIDTH_CONFIG = [[${layuiTableWidthConfig}]];
    var SELECT_STATUS_DATA = [[${enum.toArray('com.foxnicweb.app.constants.enums.patent.PatentProcessStatus')}]];
    var RADIO_SUBTYPE_DATA = [[${enum.toArray('com.foxnicweb.app.constants.enums.patent.PatentSubType')}]];
    var VALIDATE_CONFIG={};
    var AUTH_PREFIX="pat_patent_process";


</script>



<script th:src="'/business/patent/patent_process/patent_process_ext.js?'+${cacheKey}"></script>
<script th:src="'/business/patent/patent_process/patent_process_form.js?'+${cacheKey}"></script>

</body>
</html>